package com.itheima.rpc.client.boot;

import com.itheima.rpc.client.discovery.RpcServiceDiscovery;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class RpcClientRun {

    @Resource
    private RpcServiceDiscovery discovery;

    public void run() {
        //服务发现
        discovery.serviceDiscovery();
    }
}
